package com.bosssoft.trainee.nontax.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bosssoft.trainee.nontax.common.Result;
import com.bosssoft.trainee.nontax.entity.po.Message;

import java.util.List;

/**
 * @author MaYunFei
 * @ProjectName RBAC_BOSS
 * @Description TODO
 * @time 2022/6/14 11:56
 */
public interface IMessageService extends IService<Message> {

    Result<?> findPage(String name, Integer pageNum, Integer pageSize);

    Result<?> getByWords(Integer pageNum, Integer pageSize);

    List<Message> findByForeign(Integer foreignId);
}
